<nav id="bt-menu" class="bt-menu">
    <a href="#" class="bt-menu-trigger"><span>Menu</span></a>
    <ul>
        <?php 
            $now = new DateTime();
            $month = $now->format('m');
            $year = $now->format('Y');
            $eve = explode('-', $this->session->userdata('eve_priv'));
            $con = explode('-', $this->session->userdata('con_priv'));
            $gue = explode('-', $this->session->userdata('gue_priv'));
            echo '<li><a href="'.site_url().'dashboard"><span class=" glyphicon glyphicon-home adjust-icon" ></span>HOME</a></li>';
            echo '<li><a href="'.site_url().'my-account"><span class="glyphicon glyphicon-user adjust-icon"></span>ACCOUNT</a></li>';
            if($eve[1]==0) {
                echo '<li><a href="'.site_url().'/events/calendar/'.$year.'/'.$month.'"><span class="glyphicon glyphicon-glass adjust-icon"></span>EVENT</a></li>';
            }
            if($con[1]==0) {
                echo '<li><a href="'.site_url().'contacts"><span class="glyphicon glyphicon-earphone adjust-icon"></span>CONTACT</a></li>';
            }
            echo '<li><a href="'.site_url().'resource"><span class="glyphicon glyphicon-folder-open adjust-icon"></span>RESOURCE</a></li>';
        //<li><a href="< ?php echo site_url()? >statistics">STATISTICS</a></li>
            echo '<li><a href="'.site_url().'messages"><span class="glyphicon glyphicon-envelope adjust-icon"></span>MESSAGE</a></li>';
            if($gue[1]==0) {
                echo '<li><a href="'.site_url().'guest/choose-design"><span><img class="adjust-icon" src="'.site_url().'assets/images/guest-icon.png"></span>GUEST</a></li>';
            }
            echo '<li><a href="'.site_url().'logout"><span class="glyphicon glyphicon-off adjust-icon"></span>LOGOUT</a></li>';
        ?>
    </ul>
</nav>